﻿<div>
    <label class="control-label" v-if="field.DisplayName">{{field.DisplayName}}</label>
<select class="form-control" :class="'size-' + field.Size">
    <option>-- 请选择 --</option>
    <option v-for="op in field.FieldOptions" value="op.Value" :value="op.DisplayText">{{op.DisplayText}}</option>
</select>
<dl v-if="field.Description">
    <dd>{{field.Description}}</dd>
</dl>
<button type="button" class="close" @click="removeField(field)"><span aria-hidden="true">&times;</span></button>
</div>
